import { Vector2 } from "../util";
import { Component } from "./Component";

export class Goods extends Component {
    /**
     * 基础属性
     */
    //Goods类型
    public type = 22
    public uid = "985b5f12-31c9-4165-b12a-119c2c97f930"
    //名称
    public name = "goods_item"



    //背景 img
    public goods_bg: string
    //图标 img
    public goods_icon: string
    //商品名 text
    public goods_name: string
    //装备栏 text
    public goods_stock: string
    //库存上限 text
    public goods_stock_total: string
    //更多 text
    public goods_extra: string
    //价格 scroll
    public goods_costs: string
    //当前库存 text
    public goods_stock_current: string
    //无法购买遮罩 img
    public goods_disable_mask: string
    //cd遮罩 img
    public goods_cd_mask: string
    //选中遮罩 img
    public goods_select_mask: string
}


export class Shop extends Component {
    /**
     * 基础属性
     */
    //Shop类型
    public type = 21
    public uid = "985b5f12-31c9-4165-b12a-119c2c97f930"
    //名称
    public name = "shop"

    //子节点
    public children: Array<Goods> = []

    //背景图片
    public bg_img: string
    //标签图片
    public tab_img: string
    //标题图片
    public title_img: string
    //标签按键状态图片 常态,选中态
    public tab_item_status_img: Vector2
}